#include "voice.h"

code char voice1[4] = {0xAA, 0x07, 0x02, 0x00};
idata voice2[2] = {0};

void playVoice(char ch){
	idata char e=0;
	 if(ch > 18)
		 return;
	 UartChannel(2);
	 for(e=0; e<4; e++)
			SendData(voice1[e]);
			SendData(ch);
			SendData(0xB3+ch);
	//-----------------------
	delayms(1000);
	 UartChannel(0);
	delayms(1000);
}